﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MainGame.GamePlay
{
  public enum Backgrounds
  {
    ClassicGreen = 0,
    ClassicRed = 1,
    Bamboo = 2,
    Leaves = 3,
    Squares = 4,
    Spiral = 5,
    Cartoon = 6,
    Carousel = 7,
    NumBackgrounds = 8
  }

  public enum Decks
  {
    ClassicPoker = 0,
    Glamdring = 1,
    Big = 2,
    NumDecks = 3
  }

  public delegate void ClickPlayerCard(int player_index, int card_index);
  public delegate void ClickBlockCard(int block_index, int card_index);
  public delegate void ClickPack(int player_index, int card_quantity);
  public delegate void ReleasePlayerCard(int player_index, int card_index, bool sx);
  public delegate void OnExit();


  /// <summary>
  /// Il servizio di disegno lancia alcuni eventi in corrispondenza dei click del
  /// giocatore sulle varie entitá disegnate
  /// </summary>
  public interface IBoardRenderer
  {
    event ClickPlayerCard ClickPlayerCard;
    event ClickBlockCard ClickBlockCard;
    event ClickPack ClickPack;
    event ReleasePlayerCard ReleasePlayerCard;
    event OnExit OnExit;
  }
}
